<?php
// +---------------------------------------------------------------------+
// | OneBase    | [ WE CAN DO IT JUST THINK ]                            |
// +---------------------------------------------------------------------+
// | Licensed   | http://www.apache.org/licenses/LICENSE-2.0 )           |
// +---------------------------------------------------------------------+
// | Author     | Bigotry <3162875@qq.com>                               |
// +---------------------------------------------------------------------+
// | Repository | https://gitee.com/Bigotry/OneBase                      |
// +---------------------------------------------------------------------+

namespace app\admin\validate;

/**
 * 友情链接验证器
 */
class Fee extends AdminBase
{
    
    // 验证规则
    protected $rule =   [
        
        'number'                  => 'require',
        'outcome'                 => 'require',
        'use'                     => 'require',
        'trans'                   => 'require',
        'balance'                 => 'require',

    ];

    // 验证提示
    protected $message  =   [
        
        'number.require'                => '姓名不能为空',
        'outcome.require'               => '性别不能为空',
        'use.require'                   => '班级不能为空',
        'trans.require'                 => '申请职务不能为空',
        'balance.require'               => '申请理由不能为空',
    ];

    // 应用场景
    protected $scene = [
        
        'edit' =>  [' number','outcome','use','trans','balance'],
    ];
    
}
